package cn.picclife.mwx.manager.sys.model.po;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import cn.picclife.mwx.manager.sys.model.bo.NewPageCount;

/**
 * 伙伴管理实体类
 * @ClassName Friend.java
 * @Description 
 * @author Guan JunHui
 * @Date 2017年9月20日
 */
public class Friend extends NewPageCount<Friend>{
	
	private int id;
	
	private String companyType;//公司类型
	
	private String companyName;//公司名称
	
	private String phone;
	
	private String email;
	
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date applicationDate;//申请日期
	
	private String createUser;
	
	private Date createTime;
	
	private String editUser;
	
	private Date editTime;
	
	private String userId;//用户外键
	
	public void setCompanyType(String companyType) {
		this.companyType = companyType;
	}
	public Date getApplicationDate() {
		return applicationDate;
	}
	public void setApplicationDate(Date applicationDate) {
		this.applicationDate = applicationDate;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getEditUser() {
		return editUser;
	}
	public void setEditUser(String editUser) {
		this.editUser = editUser;
	}
	public Date getEditTime() {
		return editTime;
	}
	public void setEditTime(Date editTime) {
		this.editTime = editTime;
	}
	public String getCompanyType() {
		return companyType;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	
}
